<div class="content" ng-controller="loginCtrl">
    <div>
        <img src="<?php echo base_url() .'public/' ?>images/banner-x.png" style="width:100%;" />
    </div>

    <div class="list-block" style="margin-top:3px;">
        <ul>
            <!-- Text inputs -->
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-name"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-input">
                            <input type="number" pattern="\d*" placeholder="请输入11位手机号" oninput="value=value.replace(/[^\d]/g,'')" minlength="11" maxlength="11" ng-model="vm.phone"/>
                        </div>
                    </div>
                </div>
            </li>
           <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-password"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-input">
                            <input type="password" placeholder="请输入密码" class="" ng-model="vm.password"/>
                        </div>
                    </div>
                </div>
            </li>
          <!--  <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-password"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-input">
                            <input type="text" placeholder="请输入短信验证码" class="" ng-model="vm.sms"/>
                        </div>
                        <div class="col-50">
                            <a href="javascript:void(0);" ng-click="getsms();" class="button button-round button-danger" id="btnSmsSend">获取短信验证码</a>
                        </div>
                    </div>
                </div>
            </li>-->
        </ul>
    </div>
    <div class="content-block">
        <div class="row">
            <div class="col-100">
                <a href="javascript:void(0);" ng-click="submit();" class="button button-big button-fill button-danger">立即登录</a>
            </div>
        </div>
        <div class="row" style="text-align:right;margin-top:10px;">
            <div style="width:50%;float:left;text-align:left;padding-left:15px;">
                <a href="<?=base_url()?>auth/register" class="in external">注册</a>
            </div>
            <div style="width:50%;float:right;text-align:right;display:none;">
                <a href="<?=base_url()?>auth/getsms" class="in external">忘记密码？</a>
            </div>
            <div style="clear:both;"></div>
        </div>
    </div>
</div>

<script src="<?=base_url()?>public/app/auth/loginCtrl.js?v=10"></script>